{include file='fcworker/fc_head'}
<script src="{$_G['URL']['FCWORK_CSS']}js/echarts.min.js"></script>
{include file='fcworker/fc_headsearch'}
<style type="text/css">
    .table-con{
        width: 7.06rem;
        margin: .25rem auto 0;
    }
    .table-con>div {
        border-radius: 16px;
    }
    .table-myTitle{
        overflow: hidden;
        border-radius: 20px 20px 0 0 ;
        width: 100%;
        background-color: #fff;
        height: 70%;
        margin: 0 auto;
        text-align: center;
    }
    .table-myTitle>div{
        width: 5px;
        height: 30px;
        background-color: #3674ff;
        margin-left: 20px;
        margin-right: 20px;
    }
    .table{
        box-sizing: border-box;
        overflow: hidden;
        border-radius: 0 0 20px 20px;
        border: 0px solid darkgray;
    }
    .table dt{
        width: 50%;
        text-align: center;
        float: left;
    }
    .table dt p{
        color: #a7a7a7;
        font-size: .24rem;
        line-height: .63rem;
    }
    .bg-w{
        background: #f2f1f1;
    }
    #input {position: absolute;top: 0;left: 0;opacity: 0;z-index: -10;}
    .notice-bar{
        display: flex;
        align-items: center;
        background-color: #fffbe8;
        color: #ed6a0c;
        font-size: 14px;
        height: 40px;
        line-height: 24px;
        padding: 0 16px;
    }
    .notice-bar--withicon{
        padding-right:40px;
        position:relative;
    }
    .notice-bar--wrapable{
        height:auto;
        padding:8px 16px
    }
    .notice-bar--wrapable .notice-bar__wrap{
        position: relative;
        white-space: nowrap;
    }
    .notice-bar__left-icon {
        display: flex;
        align-items: center;
        margin-right: 4px;
        vertical-align: middle;
    }
    .notice-bar__left-icon,.notice-bar__right-icon {
        font-size: 16px;
        min-width: 22px;
    }
    .notice-bar__right-icon {
        position: absolute;
        right: 15px;
        top: 7px;
        background-color: #fffbe8;
    }
    .notice-bar__left-icon,.notice-bar__right-icon img{
        width: 1em;
        height: 1em;
    }
    .notice-bar__wrap{
        flex: 1;
        height: 24px;
        overflow: hidden;
        position: relative;
    }
    .notice-bar__content{
        position: absolute;
        white-space: nowrap;
        /* animation: noticeBar_content linear 4s infinite; */
    }
    @keyframes noticeBar_content {
        from {
            left : 100%;
        }
        to {
            left: -100%;
        }
    }
    .manageBox dt {
        position: relative;
    }
    .manageBox .badge{
        position: absolute;
        top: 0;
        right: .50rem;
        font-size: .24rem;
        margin-top: 0;
        background: red;
        width: .24rem;
        height: .24rem;
        color: #fff;
        border-radius: 50%;
        line-height: .24rem;
    }
</style>
<body style="background:#f8f8f8">
<div id="mescroll" class="mescroll">
    <div id="app">
<div class="h118"></div>
<!-- notice-bar -->
{if $result['config']['top_ad']}
<a href="{$result['config']['top_ad']['h5url']}">
<div class="notice-bar notice-bar--withicon notice-bar--wrapable">
    <div class="notice-bar__left-icon">
        <!-- left icon -->
        <img src="{$_G['URL']['FCWORK_CSS']}images/com_notice.png"></img>
    </div>
        <div class="notice-bar__wrap">
            <div class="notice-bar__content" animation="{{animationData}}">
            {$result['config']['top_ad']['txt']}
            </div>
        </div>
        <!-- right icon -->
        <div class="notice-bar__right-icon">
            <img src="{$_G['URL']['FCWORK_CSS']}images/com_arrow.png"></img>
        </div>
</div>
</a>
<div style="margin-bottom: .25rem;"></div>
{/if}

{if $level == 1 && $config['view_data_auth']!=1}
<div class="dataList">
{else}
<div class="dataList" style="height:2.68rem !important;">
{/if}
    {if $level == 1 && $config['view_data_auth']!=1}
    <ul>
        <li><p>参与人数</p><span>{$info['fansnum']}</span></li>
        <li><p>浏览量</p><span>{$info['scansum']}</span></li>
        <li><p>转发量</p><span>{$info['forward']}</span></li>
        {if DOMAIN1 != "www.yixuan.net"}
        <li><p>线上/线下</p><span>{$info['recordcount']} / {$info['recordxxcount']}</span></li>
        {else}
        <li><p>线上</p><span>{$info['recordcount']}</span></li>
        <li><p>线下</p><span>{$info['recordxxcount']}</span></li>
        {/if}
        <li><p>付款金额</p><span>{$info['ordercount']}</span></li>
        {if $system['fenxiao']==1 || $info['commcount']!=0}
        <li><p>红包发放</p><span>{$info['commcount']}</span></li>
        {else}
        <li><p>手续费</p><span>{$info['shuxufei']}</span></li>
        {/if}
        {if DOMAIN1 != "www.yixuan.net"}
        <li><p>短信通知</p><span>{$info['smsfee']}</span></li>
        {/if}
        <li><p>{if $info['chongzhi']>0}已充值{else}已提现{/if}</p><span>{$info['chongzhi']}</span></li>

        <li><p>实际到账</p><span>{$info['shijidaozhao']}</span></li>
    </ul>
    {elseif $myworker['level']==2 && $config['isrank']==1}
    <ul>
        <li><p>参与人数</p><span>{$info['fansnum']}</span></li>
        <li><p>浏览量</p><span>{$info['scansum']}</span></li>
        <li><p>转发量</p><span>{$info['forward']}</span></li>
        <li><p>已报名</p><span>{$info['totalsum']}</span></li>
        <li><p>今日</p><span>{$info['today']}</span></li>
        <li><p>我的</p><span>{$info['my']}</span></li>
    </ul>
    {else}
    <ul>
        <li><p>浏览量</p><span>{$info['scansum']}</span></li>
        <li><p>转发量</p><span>{$info['forward']}</span></li>
        <li><p>粉丝数</p><span>{$info['fansnum']}</span></li>
        <li><p>已报名</p><span>{$info['totalsum']}</span></li>
        <li><p>今日</p><span>{$info['today']}</span></li>
        <li><p>未支付</p><span>{$info['unpay']}</span></li>
    </ul>
    {/if}
</div>
{if $config}
<div class="manageBox">
    <div class="managerTit">
        活动管理 <span style="color: #ccc">- ID{php echo \app\model\Theme::getModuleName();}</span>
    </div>
    <ul>
        <li><a href="javascript:gotoindex()"><img src="{$_G['URL']['FCWORK_CSS']}images/icon4.png"><p>活动链接</p></a></li>
        <li><a href="/{php echo createMobileUrl('X_order',array('themeid'=>$themeid,'op'=>'my'));}"><img src="{$_G['URL']['FCWORK_CSS']}images/icon5.png"><p>我的订单</p></a></li>
        <li><a href="/{php echo createMobileUrl('X_group',array('themeid'=>$themeid,'op'=>'my'));}"><img src="{$_G['URL']['FCWORK_CSS']}images/icon7.png"><p>我的团</p></a></li>
        {if $level != 3}
        <li><a href="/{php echo createMobileUrl('X_report',array('themeid'=>$themeid));}"><img src="{$_G['URL']['FCWORK_CSS']}images/icon6.png"><p>日报表</p></a></li>
        {else}
        <li><a href="/{php echo createMobileUrl('X_myinfo',array('themeid'=>$themeid));}"><img src="{$_G['URL']['FCWORK_CSS']}images/icon6.png"><p>日报表</p></a></li>
        {/if}

    </ul>
    <dl>
        {if $level != 3}
        <dt><a href="/{php echo createMobileUrl('X_order',array('themeid'=>$themeid));}"><img src="{$_G['URL']['FCWORK_CSS']}images/icon10.png"><p>全部定单</p></a></dt>
        <dt><a href="/{php echo createMobileUrl('X_group',array('themeid'=>$themeid));}"><img src="{$_G['URL']['FCWORK_CSS']}images/icon10.png"><p>全部团</p></a></dt>
        {/if}
        <dt><a href="/{php echo createMobileUrl('X_fans',array('themeid'=>$themeid,'scan'=>9));}"><img src="{$_G['URL']['FCWORK_CSS']}images/icon12.png"><p>客资电话</p></a></dt>
        {php $other_form_status = \app\model\Common::get_open_other_form($system,$config);}{if $other_form_status}
        <dt><a href="/{php echo createMobileUrl('X_otherForm',array('themeid'=>$themeid));}"><img src="{$_G['URL']['FCWORK_CSS']}images/icon12.png"><p>表单收集</p></a></dt>
        {/if}
        {if $level != 3}
        <dt><a href="/{php echo createMobileUrl('x_grouprank',array('themeid'=>$themeid,'op'=>'report','fh'=>'home'));}"><img src="{$_G['URL']['FCWORK_CSS']}images/icon8.png"><p>个人日报</p></a></dt>
        {/if}

        {if $system['is_multiple_merchants'] && $config['showshop']==0 }
        {if $level == '1' || ($level == '2' && $config['isshoprank']==1)}
        <dt>
            <a href="/{php echo createMobileUrl('x_shoprank',array('themeid'=>$themeid));}">
                <img src="{$_G['URL']['FCWORK_CSS']}images/icon17.png">
                    <p>公司排名</p>
            </a>
        </dt>
        {/if}
        {/if}
        {if $config['isrank']==1}
        <dt>
            <a href="/{php echo createMobileUrl('x_grouprank',array('themeid'=>$themeid));}">
                <img src="{$_G['URL']['FCWORK_CSS']}images/icon17.png">
                    <p>团队排名</p>
            </a>
        </dt>
        <dt>
            <a href="/{php echo createMobileUrl('x_workerrank',array('themeid'=>$themeid));}">
                <img src="{$_G['URL']['FCWORK_CSS']}images/icon17.png">
                    <p>员工排名</p>
            </a>
        </dt>

        {if $system['selling_agent']==1 && $level == 1}
        <dt>
            <a href="/{php echo createMobileUrl('x_workerrank',array('themeid'=>$themeid,'op'=>'allagent'));}">
                <img src="{$_G['URL']['FCWORK_CSS']}images/icon14.png">
                <p>全部代理</p>
            </a>
        </dt>
        {/if}
        {/if}

        {if $system['selling_agent']==1}
        <dt>
            <a href="/{php echo createMobileUrl('x_workerrank',array('themeid'=>$themeid,'op'=>'myagent'));}">
                <img src="{$_G['URL']['FCWORK_CSS']}images/icon15.png">
                <p>我的代理</p>
            </a>
        </dt>

        {/if}



        {if $config['isrank']==1}
        <dt><a href="/{php echo createMobileUrl('x_ranktuan',array('themeid'=>$themeid,'op'=>'ranktuan'));}"><img src="{$_G['URL']['FCWORK_CSS']}images/icon17.png"><p>团长排名</p></a></dt>
        {/if}
        {if $config['isrank']==1}
        <dt><a href="/{php echo createMobileUrl('x_ranktuan',array('themeid'=>$themeid,'op'=>'rankfans'));}"><img src="{$_G['URL']['FCWORK_CSS']}images/icon17.png"><p>粉丝排名</p></a></dt>
        {/if}

        {if ($level == '1' || ($level == '2' && $config['isshoprank']==1)) && $config['admin_show_touping']==0}
        <dt><a href="{$config['dapingurl']}"><img src="{$_G['URL']['FCWORK_CSS']}images/icon19.png"><p>实时投屏</p></a></dt>
        {/if}
        {if $config['iswechatgroup']==1}
        <dt><a href="/{php echo createMobileUrl('x_wechatgroup',array('themeid'=>$themeid));}"><img src="{$_G['URL']['FCWORK_CSS']}images/icon14.png"><p>微信群码</p></a></dt>
        {/if}
        {if $config['ishexiao']==1}
        <dt><a href='javascript:show_qr("{$config['hexiaoname']}请找工作人员扫码","{php echo urlencode($_G['siteroot'].createMobileUrl('myorder',array('themeid'=>$themeid,'order_id'=>$item['id'],'uid'=>$_G['member']['uid'],'hxtype'=>3)));}")'><img src="{$_G['URL']['FCWORK_CSS']}images/icon15.png"><p>{$config['hexiaoname']}码</p></a></dt>
        {/if}
        {if $config['isgifthexiao']==1}
        <dt><a href='javascript:show_qr("{$config['gifthexiaoname']}请找工作人员扫码","{php echo urlencode($_G['siteroot'].createMobileUrl('myorder',array('themeid'=>$themeid,'order_id'=>$item['id'],'uid'=>$_G['member']['uid'],'hxtype'=>13)));}")'><img src="{$_G['URL']['FCWORK_CSS']}images/icon15.png"><p>{$config['gifthexiaoname']}码</p></a></dt>
        {/if}
        <dt>
            <a href="javascript:;" onclick="copyText()">
            <img src="{$_G['URL']['FCWORK_CSS']}images/icon11.png">
            <p>短网址</p>
            </a>
            <input type="text" id="input" value= "" />
        </dt>
        {if $system['selling_agent']==1}
        <dt>
            <a href='javascript:show_qr("客户扫描即成为代理","{php echo urlencode($_G['siteroot'].createMobileUrl('w_init_agent',array('themeid'=>$themeid,'superior'=>$_G['member']['uid'])));}")'>
                <img src="{$_G['URL']['FCWORK_CSS']}images/icon15.png">
                <p>代理注册码</p>
            </a>
        </dt>
        {/if}
        {if $system['lottery']==1 && TIMESTAMP > $config['yx_lt_begintime']}
        <dt>
            <a href="/{php echo createMobileUrl('X_lottery',array('themeid'=>$themeid));}"><img src="{$_G['URL']['FCWORK_CSS']}images/icon14.png"><p>九宫格中奖记录</p></a>
        </dt>
        {/if}
        <dt>
            <a href="/{php echo createMobileUrl('w_complain',array('themeid'=>$themeid));}">
                <img src="{$_G['URL']['FCWORK_CSS']}images/com_icon28.png"><p>投诉处理</p>
                {if $result['config']['complain_total']}
                <div class="badge">{$result['config']['complain_total']}</div>
                {/if}
            </a>
        </dt>
        {if $level == 1 && $config['download_auth']==1 }
            <dt>
                <a href="/{php echo createMobileUrl('x_exportData',array('themeid'=>$themeid,'op'=>'display'));}"><img src="{$_G['URL']['FCWORK_CSS']}images/icon17.png">
                    <p>数据导出</p>
                </a>
            </dt>
        {/if}
        {if $level == 1 && $system['fenxiao'] == 1}
            <dt>
                <a href="/{php echo createMobileUrl('X_fenxiao',array('themeid'=>$themeid));}">
                    <img src="{$_G['URL']['FCWORK_CSS']}images/icon10.png"><p>分销数据</p>
                </a>
            </dt>
        {/if}
    </dl>
</div>
{/if}
<div class="manageBox">
    <div class="managerTit">
        辅助功能
    </div>
    <dl>
        {if $level ==1}
        <dt><a href="/{php echo createMobileUrl('X_setbase',array('themeid'=>$themeid));}"><img src="{$_G['URL']['FCWORK_CSS']}images/icon20.png"><p>基本设置</p></a></dt>
        <dt><a href="/{php echo createMobileUrl('X_setxuni',array('themeid'=>$themeid));}"><img src="{$_G['URL']['FCWORK_CSS']}images/icon21.png"><p>虚拟数据</p></a></dt>
        <dt><a href="/{php echo createMobileUrl('x_setmobile',array('themeid'=>$themeid));}"><img src="{$_G['URL']['FCWORK_CSS']}images/icon22.png"><p>员工权限</p></a></dt>
        <dt><a href="/{php echo createMobileUrl('x_setother',array('themeid'=>$themeid));}"><img src="{$_G['URL']['FCWORK_CSS']}images/icon23.png"><p>其它设置</p></a></dt>
        {/if}
        {if $config['isxianxia']>0 || $level ==1}
        <dt><a href="/{php echo createMobileUrl('x_input',array('themeid'=>$themeid));}"><img src="{$_G['URL']['FCWORK_CSS']}images/icon18.png"><p>线下订单录入</p></a></dt>
        {/if}
        {if $config['examplestyle']==0 || $config['examplestyle']==1}
        <dt>
            <a href="/{php echo createMobileUrl('x_example',array('themeid'=>$themeid));}">
                <img src="{$_G['URL']['FCWORK_CSS']}images/icon21.png"><p>虚拟晒单</p></a>
        </dt>
        {/if}
        {if $system['lottery']==1 && TIMESTAMP > $config['yx_lt_begintime']}
        <dt>
            <a href="/{php echo createMobileUrl('x_ltexample',array('themeid'=>$themeid));}">
                <img src="{$_G['URL']['FCWORK_CSS']}images/icon21.png"><p>虚拟中奖晒单</p></a>
        </dt>
        {/if}
        {if $config['refund_limit_ip']!=1}
        <dt>
            <a href="/{php echo createMobileUrl('X_refundCode',array('themeid'=>$themeid));}">
                <img src="{$_G['URL']['FCWORK_CSS']}images/icon15.png"><p>到店退款码</p>
            </a>
        </dt>
        {/if}
        {if $config['is_view_user_log']}
        <dt>
            <a href="/{php echo createMobileUrl('main',array('mod'=>'userdata','themeid'=>$themeid,'op'=>'log_list'));}">
                <img src="{$_G['URL']['FCWORK_CSS']}images/icon12.png">
                <p>用户日志</p>
            </a>
        </dt>
        {/if}
    </dl>
</div>

<!--    团人数统计-->
    {if $tuan_num_info}
    <div class="table-con table-cons">
        <div>
            <div class="row managerTit"><div>团人数统计</div></div>
            <div class="table">
                <dl >
                    <dt class="bg-w" style="width: 40%"><p>名称</p></dt>
                    <dt class="bg-w" style="width: 30%"><p>统计</p></dt>
                    <dt class="bg-w" style="width: 30%"><p>明细</p></dt>
                </dl>
                {loop $tuan_num_info $key $item}
                <dl >
                    <dt style="width: 40%"><p>{php echo $item['name']?$item['name']:'无';}</p></dt>
                    <dt style="width: 30%"><p>{$item['total']}</p></dt>
                    <dt style="width: 30%"><a href="/{php echo createMobileUrl('X_group',array('themeid'=>$themeid,'tuannum'=>$item['tuannum']));}"><p style="color:#4490e2;">查看</p></a></dt>
                </dl>
                {/loop}
            </div>
        </div>
    </div>
    {/if}

{if $config['options1']}
<div class="table-con table-cons">
    <div>
        <div class="row managerTit"><div>{$config['address']}</div></div>
        <div class="table">
            <dl >
                <dt class="bg-w"><p>名称</p></dt>
                <dt class="bg-w"><p>统计</p></dt>
            </dl>
            {loop $config['options1'] $key $item}
            <dl >
                <dt ><p>{php echo $item['name']?$item['name']:'无';}</p></dt>
                <dt ><p>{$item['value']}</p></dt>
            </dl>
            {/loop}
        </div>
    </div>
</div>
{/if}

{if $config['options3']}
<div class="table-con table-cons">
    <div>
        <div class="row managerTit"><div>{$config['formtwo']}</div></div>
        <div class="table">
            <dl >
                <dt class="bg-w"><p>名称</p></dt>
                <dt class="bg-w"><p>统计</p></dt>
            </dl>
            {loop $config['options3'] $key $item}
            <dl >
                <dt ><p>{php echo $item['name']?$item['name']:'无';}</p></dt>
                <dt ><p>{$item['value']}</p></dt>
            </dl>
            {/loop}
        </div>
    </div>
</div>
{/if}
{if $config['options2']}
<div class="table-con table-cons">
    <div>
        <div class="row managerTit"><div>{$config['shop']}</div></div>
        <div class="table">
            <dl >
                <dt class="bg-w"><p>名称</p></dt>
                <dt class="bg-w"><p>统计</p></dt>
            </dl>
            {loop $config['options2'] $key $item}
            <dl >
                <dt ><p>{php echo $item['name']?$item['name']:'无';}</p></dt>
                <dt ><p>{$item['value']}</p></dt>
            </dl>
            {/loop}
        </div>
    </div>
</div>
{/if}
    <!--    多选分类-->
    {if $baseinfo['config']['shopstype']==8 && $baseinfo['config']['shops']}
    <div class="table-con table-cons">
        <div>
            <div class="row managerTit"><div>{$baseinfo['config']['shops']}</div></div>
            <div class="table">
                <dl >
                    <dt class="bg-w" style="width: 40%"><p>分类名</p></dt>
                    <dt class="bg-w" style="width: 30%"><p>商品名</p></dt>
                    <dt class="bg-w" style="width: 30%"><p>统计</p></dt>
                </dl>
                {loop $dx_products $key $item}
                <dl >
                    <dt style="width: 40%"><p>{php echo $item['cate_name']?$item['cate_name']:'无';}</p></dt>
                    <dt style="width: 30%"><p>{php echo $item['title']?$item['title']:'无';}</p></dt>
                    <dt style="width: 30%"><p>{$item['total']}</p></dt>
                </dl>
                {/loop}
            </div>
        </div>
    </div>
    {/if}
<!--    九宫格抽奖统计预览信息-->
    {if $system['lottery']==1 && $lottery_info}
    <div class="table-con table-cons">
        <div>
            <div class="row managerTit"><div>九宫格抽奖礼品发放</div></div>
            <div class="table">
                <dl >
                    <dt class="bg-w" style="width: 40%"><p>名称</p></dt>
                    <dt class="bg-w" style="width: 30%"><p>统计</p></dt>
                    <dt class="bg-w" style="width: 30%"><p>明细</p></dt>
                </dl>
                {loop $lottery_info $key $item}
                <dl >
                    <dt style="width: 40%"><p>{php echo $item['title']?$item['title']:'无';}</p></dt>
                    <dt style="width: 30%"><p>{$item['total']}</p></dt>
                    <dt style="width: 30%"><a href="/{php echo createMobileUrl('X_lottery',array('themeid'=>$themeid));}&p_id={$item['p_id']}"><p style="color:#4490e2;">查看</p></a></dt>
                </dl>
                {/loop}
            </div>
        </div>
    </div>
    {/if}
<!--贝莱2.0   教培课程选择-->
    {if $user_course_total && ($system['softstyle']==108 || $system['softstyle']==109)}
    <div class="table-con table-cons">
        <div>
            <div class="row managerTit"><div>课程选择</div></div>
            <div class="table">
                <dl >
                    <dt class="bg-w" style="width: 40%"><p>名称</p></dt>
                    <dt class="bg-w" style="width: 30%"><p>统计</p></dt>
                    <dt class="bg-w" style="width: 30%"><p>明细</p></dt>
                </dl>
                {loop $user_course_total $key $item}
                <dl >
                    <dt style="width: 40%"><p style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">{php echo $item['title']?$item['title']:'无';}</p></dt>
                    <dt style="width: 30%"><p>{$item['total']}</p></dt>
                    <dt style="width: 30%"><a href="/{php echo createMobileUrl('X_beilai',array('themeid'=>$themeid));}&p_id={$item['c_id']}"><p style="color:#4490e2;">查看</p></a></dt>
                </dl>
                {/loop}
            </div>
        </div>
    </div>
    {/if}
<!-- 贝莱2.0   教培优惠券选择   -->
    {if $user_coupon_total && ($system['softstyle']==108  || $system['softstyle']==109)}
    <div class="table-con table-cons">
        <div>
            <div class="row managerTit"><div>优惠券选择</div></div>
            <div class="table">
                <dl >
                    <dt class="bg-w" style="width: 40%"><p>名称</p></dt>
                    <dt class="bg-w" style="width: 30%"><p>统计</p></dt>
                    <dt class="bg-w" style="width: 30%"><p>明细</p></dt>
                </dl>
                {loop $user_coupon_total $key $item}
                <dl >
                    <dt style="width: 40%"><p style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">{php echo $item['title']?$item['title']:'无';}</p></dt>
                    <dt style="width: 30%"><p>{$item['total']}</p></dt>
                    <dt style="width: 30%"><a href="/{php echo createMobileUrl('X_beCoupon',array('themeid'=>$themeid));}&c_id={$item['c_id']}"><p style="color:#4490e2;">查看</p></a></dt>
                </dl>
                {/loop}
            </div>
        </div>
    </div>
    {/if}
    <!--    商家多产品核销信息-->
    {if $system['mulit_products']==1 && $sj_mulit_verify && $level==1}
    <div class="table-con table-cons">
        <div>
            <div class="row managerTit"><div>商家多产品记录</div></div>
            <div class="table">
                <dl >
                    <dt class="bg-w" style="width: 40%"><p>名称</p></dt>
                    <dt class="bg-w" style="width: 30%"><p>统计</p></dt>
                    <dt class="bg-w" style="width: 30%"><p>明细</p></dt>
                </dl>
                {loop $sj_mulit_verify $key $item}
                <dl >
                    <dt style="width: 40%"><p>{php echo $item['title']?mb_substr($item['title'],0,8):'无';}</p></dt>
                    <dt style="width: 30%"><p>{$item['total']}</p></dt>
                    <dt style="width: 30%"><a href="/{php echo createMobileUrl('X_mulitProduct',array('themeid'=>$themeid));}&sj_id={$item['sj_id']}&p_id=0"><p style="color:#4490e2;">查看</p></a></dt>
                </dl>
                {/loop}
            </div>
        </div>
    </div>
    {elseif $system['mulit_products']==1 && $sj_mulit_verify && ($level==2 || $level==3)}
    <div class="table-con table-cons">
        <div>
            <div class="row managerTit"><div>商家多产品记录</div></div>
            <div class="table">
                <dl >
                    <dt class="bg-w" style="width: 40%"><p>名称</p></dt>
                    <dt class="bg-w" style="width: 30%"><p>统计</p></dt>
                    <dt class="bg-w" style="width: 30%"><p>明细</p></dt>
                </dl>
                {loop $sj_mulit_verify $key $item}
                <dl >
                    <dt style="width: 40%"><p>{php echo $item['title']?mb_substr($item['title'],0,8):'无';}</p></dt>
                    <dt style="width: 30%"><p>{$item['total']}</p></dt>
                    <dt style="width: 30%"><a href="/{php echo createMobileUrl('X_mulitProduct',array('themeid'=>$themeid));}&p_id={$item['p_id']}&sj_id={$sjid}"><p style="color:#4490e2;">查看</p></a></dt>
                </dl>
                {/loop}
            </div>
        </div>
    </div>
    {/if}
    {if $system['invite_gift']==1}
    <div class="table-con table-cons">
        <div>
            <div class="row managerTit"><div>邀请礼</div></div>
            <div class="table">
                <dl >
                    <dt class="bg-w" style="width: 40%"><p>名称</p></dt>
                    <dt class="bg-w" style="width: 30%"><p>统计</p></dt>
                    <dt class="bg-w" style="width: 30%"><p>明细</p></dt>
                </dl>
                {loop  $result['invite_gift_list']  $key $item}
                <dl >
                    <dt style="width: 40%"><p>{php echo $item['name']?mb_substr($item['name'],0,8):'无';}</p></dt>
                    <dt style="width: 30%"><p>{$item['number']}</p></dt>
                    <dt style="width: 30%"><a href="/{php echo createMobileUrl('X_giftRecord',array('themeid'=>$themeid,'classify'=>$item['classify'],'taskid'=>$item['taskid']));}"><p style="color:#4490e2;">查看</p></a></dt>
                </dl>
                {/loop}
            </div>
        </div>
    </div>
    {/if}
{if $level==1}
<div class="manageBox">
    <div style="padding: 5px; line-height: 20px;text-align: center; font-size:13px;">
        <div style="color: #4490e2;margin-top: 5px;font-size: 12px;">实际到账:付款金额-{$config['shouxu100']}%的手续费-红包发放-短信通知</div>
        <div style="color: #292929;margin-top: 5px;font-size: 12px;">手续费:凡是通过微信支付的腾讯公司均收取,非我公司收取</div>
        <div style="color: #292929;margin-top: 5px;font-size: 12px;">短信通知:属增值服务，需要额外支付费用，每条0.1元</div>
        <div style="color: #292929;margin-top: 5px;font-size: 12px;">已提现:以实际提现数额为准，此处只做参考</div>
    </div>
</div>
{/if}
<div class="manageBox">
    <div style="color: #969d98;padding: 5px; line-height: 20px;text-align: center; font-size:11px;">
        <div style="text-align: left">【修改定单】客户填写的姓名电话以及其它表单，所属员工可修改{if $level==1}，管理员可操作定单退款{/if}</div>
        <div style="text-align: left">【定单备注】通过修改定单进行客户备注新老客户是否转单等，可通过顶部搜索快速搜索新客户、老客户、已转单、未转单的客户</div>
        <div style="text-align: left">【修改团】A客户已报名自己1个团，他想和B一起拼团，这时可以通过修改团，交A移到B团里；在修改定单中操作。</div>
        <div style="text-align: left">【线下订单】部分客户到店支付等非小程序支付的，可通过【线下录入】录入系统，即可线上拼团；成交量不包含线下数</div>
        <div style="text-align: left">【交易凭证】传统的定单,可以晒红包,晒转账,现在每成交一个定单系统都会自动生成交易凭证图,图片上还带有员工的专属二维码,除此之外系统还可以自动生成虚拟晒单图</div>
        <div style="text-align: left">【转发量】同1用户60秒内转发只计1次，员工转发量为自身+客户转发</div>
        <div style="text-align: left">【直销】员工直接成交的客户计为直销定单，成交量已包含直销数</div>
    </div>
</div>
<div class="quickLink">
    <a href="#">拼团</a>
    <a href="#">异业联盟</a>
    <a href="#">微团</a>
    <a href="#">微分销</a>
    <a href="#">微客</a>
    <a href="#">我要代言</a>
    <a href="#">砍价</a>
    <a href="#">投票</a>
</div>
{if $theme['yixuanbanquan'] != '1' && empty($theme['USERJISHU'])}
{if $_G['companyname'] !='飞驰软件' && $_G['companyname'] !='金策软件' && $_G['companyname'] !='联登科技' && empty($theme['USERCOMPANYNAME'])}
<div class="copyRight">
    <p>Powered by Yixuan @2015-2022</p>
    <span>{$jishu['mobile']}</span>
</div>
{/if}
<div class="resBox">
    技术支持 -{$company_name} -{$jishu['mobile']}
</div>
{/if}
<div class="h110"></div>
</div>
</div>
{include file='fcworker/fc_foot'}
<style type="text/css">
    .altTit { width:4.7rem; position:relative; z-index:101; height:.84rem; background:#7094ff; margin:0 auto; border-radius:.15rem; text-align:center; line-height:.84rem; color:#fff; font-size:.32rem;}
    .altBox { display:none; position:fixed; z-index:101; left:50%; top:50%; margin-left:-2.79rem; margin-top:-2.78rem;}
    .ewmBar { width:5.58rem; height:5.56rem; box-sizing:border-box; padding-top:.9rem; margin-top:-.4rem; border-radius:.15rem; background:#fff; box-sizing:border-box;}
    #screen{ display:none; position:fixed; left:0; top:0; width:100%; height:100%; background:rgba(0,0,0,0.5); z-index:100;}
    .ewmImg { width:3.94rem; box-sizing:border-box; padding:.16rem; border:1px solid #a6d5ff; border-radius:.08rem; margin:0 auto 0;}
</style>
<div id="screen"></div>
<div class="altBox">
    <div class="altTit"></div>
    <div class="ewmBar">
        <div class="ewmImg"><img id="qr_img" src=""></div>
    </div>
</div>
</body>
<script>
    const mescroll = new MeScroll("mescroll", {
        down: {
            auto: false,
            callback: () => {
                mescroll.endSuccess();
                setTimeout(() => {
                    window.location.reload();
                },500)
            }
        },
        up: {
            use: false
        }
    })
</script>

<script type="text/javascript">
    function gotoindex(){
        let ua = window.navigator.userAgent.toLowerCase()
        if (ua.indexOf('micromessenger') > -1) {
            // 判断是否是微信环境
            wx.miniProgram.getEnv(function (res) {
                if (res.miniprogram) { // 小程序环境
                    wx.miniProgram.redirectTo({
                        url: `/pages/index/index`
                    })
                    return;
                }
            })
        }
        window.location.href = "/{php echo createMobileUrl('index',array('themeid'=>$themeid,'fx'=>9));}";
    }
    function show_qr(msg,qr_img){
        var qrurl = '{$_G['URL']['QRURLNEW']}';
        qrurl = qrurl + urlencode(qr_img);
        $('.altTit').html(msg);
        $("#qr_img").attr("src",qrurl);
        $('.altBox').fadeIn();
        $('#screen').fadeIn();
    }

    function urlencode (str) {
        str = (str + '').toString();

        return encodeURIComponent(str).replace(/!/g, '%21').replace(/'/g, '%27').replace(/\(/g, '%28').
        replace(/\)/g, '%29').replace(/\*/g, '%2A').replace(/%20/g, '+');
    }

    $('#screen').click(function(){
        $('.altBox').fadeOut();
        $('#screen').fadeOut();
    })
    function copyText() {
        var text = '活动详情请点击：{$workerurl}';
        var input = document.getElementById("input");
        input.readOnly = 'readOnly';
        input.value = text; // 修改文本框的内容
        input.select(); // 选中文本
        document.execCommand("copy"); // 执行浏览器复制命令
        alert("您的专属短网址复制成功，可用于朋友圈评论、群发等链接文本式推广");
    }
    $(window).scroll(function(){
        var height = $(window).height();
        var scrollSpace = $(window).scrollTop();
        if(scrollSpace>height){
            $('.backTop').fadeIn();
        }else{
            $('.backTop').fadeOut();
        }
    })
    $('.contBtn').click(function(){
        if($(this).hasClass('on')){
            $(this).parent().siblings('.information').removeClass('cur');
            $(this).removeClass('on')
        }else{
            $(this).addClass('on')
            $(this).parent().siblings('.information').addClass('cur');
        }
    })
    $('.backTop').click(function(){
        $('body,html').animate({scrollTop:0},500);
    })
    // notice-bar animation
    const notic_wraper = $('.notice-bar__wrap');
    const notic_content = $('.notice-bar__content');
    const wraperWidth = notic_wraper.width();
    const contentWidth = notic_content.width();
    (function init() {
        notic_content.css('left', `${wraperWidth}px`);
        notic_content.animate({left: `-${contentWidth}px`}, 8000, 'linear', init);
    })()
</script>
</html>
